package com.summer.result;

import com.summer.bean.Course;
import com.summer.bean.Lecturer;

import java.util.List;

public class SearchResult {
    private List<Course> coursesByCname;
    private List<Course> coursesByCno;
    private List<Lecturer> lecturersByTno;

    public SearchResult(List<Course> coursesByCname, List<Course> coursesByCno, List<Lecturer> lecturersByTno) {
        this.coursesByCname = coursesByCname;
        this.coursesByCno = coursesByCno;
        this.lecturersByTno = lecturersByTno;
    }

    public SearchResult() {
    }

    public List<Course> getCoursesByCname() {
        return coursesByCname;
    }

    public void setCoursesByCname(List<Course> coursesByCname) {
        this.coursesByCname = coursesByCname;
    }

    public List<Course> getCoursesByCno() {
        return coursesByCno;
    }

    public void setCoursesByCno(List<Course> coursesByCno) {
        this.coursesByCno = coursesByCno;
    }

    public List<Lecturer> getLecturersByTno() {
        return lecturersByTno;
    }

    public void setLecturersByTno(List<Lecturer> lecturersByTno) {
        this.lecturersByTno = lecturersByTno;
    }
}
